class CreateMessages < ActiveRecord::Migration
  def self.up
    create_table :messages, :primary_key => 'message_id' do |t|
      t.references :user
      t.references :output
      t.references :input
      t.text :message
      t.timestamps
    end
  end

  def self.down
    drop_table :messages
  end
end
